<template>
  <div style="height: 100%">
  <el-container style="height: 100%">
    <el-aside width="200px">
      <Menu></Menu>
    </el-aside>
      <el-main style="font-size:20px ">
            <span > 项目id:{{$route.query.pro_ject_id}}</span>
      <el-tabs v-model="tab_name">
        <el-tab-pane label="项目设置" name="first">
        <Pro_ject_set :pro_ject_id="$route.query.pro_ject_id" ></Pro_ject_set>
        </el-tab-pane>
        <el-tab-pane label="接口用例" name="second">
          <Pro_ject_case_ :pro_ject_id="$route.query.pro_ject_id"></Pro_ject_case_>
        </el-tab-pane>
      </el-tabs>
      </el-main>
  </el-container>
  </div>

</template>

<script>
    import Menu from '../components/Menu.vue'
    import axios from 'axios'
    import Pro_ject_set from '../components/Pro_ject_set.vue'
    import Pro_ject_case_ from '../components/Pro_ject_case_.vue'
  export default {

  name: "Project_list_All",
  //  参数 变量数据初始化
  data(){
    return{
      tab_name:'second',

    }
  },
    mounted() {
    },

    //搜索函数
    methods:{

     },
  //  挂载页面
  components:{
    Menu,
    Pro_ject_case_,
    Pro_ject_set},

}
</script>

<style >
    .el-table .warning-row {
        background: #d0ab5c;
      }

      .el-table .success-row {
        background: #5d943d;
      }
    .el-header{
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        line-height: 60px;
      }

  .el-asides {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  /*.el-mains {*/
  /*  background-color: #E9EEF3;*/
  /*  color: #333;*/
  /*  text-align: center;*/
  /*  line-height: 160px;*/
  /*}*/
</style>